package com.atguigu.statistics.feign;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter",fallback = UcenterHy.class)
@Component
public interface UcenterFeignServiceByStatistics {
    @GetMapping(value = "/ucenter/member/countregister/{day}")
    public R registerCount(
            @PathVariable String day);
}
